import {App} from "vue";
import {createRouter, createWebHashHistory} from 'vue-router'
import createRouters from './routePath'
const router = createRouter({
    history: createWebHashHistory(),
    routes: createRouters
})
export function setupRouter(app: App<Element>): void {
    app.use(router)
}
export default router
